import App from './App'
import http from './utils/request.js'
import upload from './utils/upload.js'
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
import * as math from 'utils/math.js'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$http = http;
Vue.prototype.$upload = upload;
Vue.prototype.math = math


const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif